<template>
  <div id="app">
    <!-- keep-alive中的exclude是不包括该组件保持销毁 -->
    <keep-alive exclude="Detail">
      <router-view></router-view>
    </keep-alive>
    <Footer></Footer>
  </div>
</template>

<script>
//底部任务栏
import Footer from "@/components/footer/Footer.vue"

export default {
  name: "App",
  components: {
    Footer,
  },
}
</script>

<style lang="less">
* {
  margin: 0;
  padding: 0;
}

ul {
  list-style: none;
}

a {
  text-decoration: none;
  color: black;
}
#app {
  padding: 45px 0;
}
</style>
